// 路由组件的入口
import React from 'react';
import routes from './config';
import RouterView from './router-view';
const routerList = [
  ...routes
];

const ViewRouter = () => {
  return (
    <div>
      <RouterView route={routerList}></RouterView>
    </div>
  )
}

export default ViewRouter;